package com.edu.elasticsearch.beans;

import org.elasticsearch.search.sort.SortBuilder;

public class ESQueryBean {
	
	private Integer page;
	private Integer size;
	/**SortBuilder sortBuilder = SortBuilders.fieldSort("field").order(SortOrder.DESC);*/
	private SortBuilder sortBuilder;
	
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer pPage) {
		page = pPage;
	}
	public Integer getSize() {
		return size;
	}
	public void setSize(Integer pSize) {
		size = pSize;
	}
	public SortBuilder getSortBuilder() {
		return sortBuilder;
	}
	public void setSortBuilder(SortBuilder pSortBuilder) {
		sortBuilder = pSortBuilder;
	}
	
}
